<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>

    <form enctype="multipart/form-data" action="" method="POST" id="rowForm">
    	<table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablegrid tableedit">
    	<tr align="left">
            <th colspan="2" align="left">UPLOAD FILE</th>
        </tr>
        
    	<tr><td>select server:</td><td><?= $serverlist ?></td></tr>
		
		<tr>
			<input type="hidden" name="MAX_FILE_SIZE" value="" />
			<td>upload file :</td><td><input name="upload_file" type="file" size="50" /></td>
		</tr>
		<tr>
			<td><input type="submit" name="submit" value="upload" /></td>
		</tr>
		</table>
	</form>
        <script type="text/javascript">
            SG.init("core.form", function() {
                $.formValidator.initConfig({formid: "#rowForm", submitonce: true});
                $("#area_host").formValidator({empty: false, onshow: '<?= translate('PLASE_SELECT') ?>'}).inputValidator({min: 1, onerrormin: '<?= translate('C_NOT_EMPTY') ?>'});
                $("#rolename").formValidator({empty: false, onshow: '<?= translate('PLASE_INPUT_ROLE_NAME') ?>'}).inputValidator({min: 1, onerrormin: '<?= translate('C_NOT_EMPTY') ?>'});                           
            });
        </script>
    </body>
</html>
